package com.gac.basedownload.model;

import com.litesuits.orm.db.annotation.PrimaryKey;
import com.litesuits.orm.db.enums.AssignType;

public class DownloadRecord {
    private String fileId;//文件记录id

    @PrimaryKey(AssignType.BY_MYSELF)
    private String threadId;//线程id

    private long downloadLen;//下载长度

    private long startIndex;//下载其实位置

    private long endIndex;//下载结束的位置

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getThreadId() {
        return threadId;
    }

    public void setThreadId(String threadId) {
        this.threadId = threadId;
    }

    public long getDownloadLen() {
        return downloadLen;
    }

    public void setDownloadLen(long downloadLen) {
        this.downloadLen = downloadLen;
    }

    public long getStartIndex() {
        return startIndex;
    }

    public void setStartIndex(long startIndex) {
        this.startIndex = startIndex;
    }

    public long getEndIndex() {
        return endIndex;
    }

    public void setEndIndex(long endIndex) {
        this.endIndex = endIndex;
    }
}
